package com.yellowpage.bigdata.data;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * NspFatallogImeiMonthregionSum entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "NSP_FATALLOG_IMEI_MONTHREGION_SUM")
public class NspFatallogImeiMonthregionSum implements java.io.Serializable {

	// Fields

	private Integer fatallogImeiMonthregionSumId;
	private String logMonth;
	private String regionCode;
	private String requestType;
	private String dataFalg;
	private Integer imeiMonthCount;
	private Integer imeiAllCount;
	private Integer imeiNewCount;
	private Integer requestCount;
	private Integer requestIMEICount;
	private Integer requestNoIMEICount;
	private Integer createUser;
	private Date createTime;
	private String note;
	private String regionName;
	private String channelName;

	// Constructors

	/** default constructor */
	public NspFatallogImeiMonthregionSum() {
	}

	/** full constructor */
	public NspFatallogImeiMonthregionSum(String logMonth, String regionCode,
			String requestType, Integer imeiMonthCount, Integer imeiAllCount,
			Integer imeiNewCount, Integer createUser, Date createTime,
			String note,Integer requestCount,Integer requestNoIMEICount,Integer requestIMEICount,String dataFalg
			,String regionName,String channelName) {
		this.logMonth = logMonth;
		this.regionCode = regionCode;
		this.requestType = requestType;
		this.imeiMonthCount = imeiMonthCount;
		this.imeiAllCount = imeiAllCount;
		this.imeiNewCount = imeiNewCount;
		this.createUser = createUser;
		this.createTime = createTime;
		this.note = note;
		this.requestCount = requestCount;
		this.requestNoIMEICount = requestNoIMEICount;
		this.requestIMEICount = requestIMEICount;
		this.dataFalg = dataFalg;
		this.regionName = regionName;
		this.channelName = channelName;
	}

	// Property accessors
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "FATALLOG_IMEI_MONTHREGION_SUM_ID", unique = true, nullable = false)
	public Integer getFatallogImeiMonthregionSumId() {
		return this.fatallogImeiMonthregionSumId;
	}

	public void setFatallogImeiMonthregionSumId(
			Integer fatallogImeiMonthregionSumId) {
		this.fatallogImeiMonthregionSumId = fatallogImeiMonthregionSumId;
	}

	@Column(name = "LOG_MONTH", length = 64)
	public String getLogMonth() {
		return this.logMonth;
	}

	public void setLogMonth(String logMonth) {
		this.logMonth = logMonth;
	}

	@Column(name = "REGION_CODE", length = 10)
	public String getRegionCode() {
		return this.regionCode;
	}

	public void setRegionCode(String regionCode) {
		this.regionCode = regionCode;
	}

	@Column(name = "REQUEST_TYPE", length = 10)
	public String getRequestType() {
		return this.requestType;
	}

	public void setRequestType(String requestType) {
		this.requestType = requestType;
	}

	@Column(name = "IMEI_MONTH_COUNT")
	public Integer getImeiMonthCount() {
		return this.imeiMonthCount;
	}

	public void setImeiMonthCount(Integer imeiMonthCount) {
		this.imeiMonthCount = imeiMonthCount;
	}

	@Column(name = "IMEI_ALL_COUNT")
	public Integer getImeiAllCount() {
		return this.imeiAllCount;
	}

	public void setImeiAllCount(Integer imeiAllCount) {
		this.imeiAllCount = imeiAllCount;
	}

	@Column(name = "IMEI_NEW_COUNT")
	public Integer getImeiNewCount() {
		return this.imeiNewCount;
	}

	public void setImeiNewCount(Integer imeiNewCount) {
		this.imeiNewCount = imeiNewCount;
	}

	@Column(name = "CREATE_USER")
	public Integer getCreateUser() {
		return this.createUser;
	}

	public void setCreateUser(Integer createUser) {
		this.createUser = createUser;
	}

	@Temporal(TemporalType.DATE)
	@Column(name = "CREATE_TIME", length = 0)
	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Column(name = "NOTE", length = 128)
	public String getNote() {
		return this.note;
	}

	public void setNote(String note) {
		this.note = note;
	}
	@Column(name = "DATA_FLAG", length = 18)
	public String getDataFalg() {
		return dataFalg;
	}

	public void setDataFalg(String dataFalg) {
		this.dataFalg = dataFalg;
	}
	@Column(name = "REQUEST_COUNT")
	public Integer getRequestCount() {
		return requestCount;
	}

	public void setRequestCount(Integer requestCount) {
		this.requestCount = requestCount;
	}
	
	@Column(name = "REQUEST_IMEI_COUNT")
	public Integer getRequestIMEICount() {
		return requestIMEICount;
	}

	public void setRequestIMEICount(Integer requestIMEICount) {
		this.requestIMEICount = requestIMEICount;
	}
	@Column(name = "REQUEST_NoIMEI_COUNT")
	public Integer getRequestNoIMEICount() {
		return requestNoIMEICount;
	}

	public void setRequestNoIMEICount(Integer requestNoIMEICount) {
		this.requestNoIMEICount = requestNoIMEICount;
	}
	@Column(name = "REGION_NAME")
	public String getRegionName() {
		return regionName;
	}

	public void setRegionName(String regionName) {
		this.regionName = regionName;
	}
	@Column(name = "CHANNEL_NAME")
	public String getChannelName() {
		return channelName;
	}

	public void setChannelName(String channelName) {
		this.channelName = channelName;
	}
	
	

}